﻿@{
    Layout = null;
}

<!DOCTYPE html >
<html >
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
<title>登录</title>
    <link rel="shortcut icon" href="~/img/favicon.ico" />
    <link rel="bookmark" href="~/img/favicon.ico" />
    <link href="~/BootstrapSouce/css/bootstrap.min.css" title="" rel="stylesheet" />
<link title="orange" href="~/css/login.css" rel="stylesheet" type="text/css" />

</head>
<body style="background-color:#0094ff">

    <div style="height:1px;"></div>
    <div class="login">
        <header>
            <h1>登录</h1>
        </header>
        <div class="sr">
            <form action="/Home/LoginDo" method="post">
                <div class="name">
                    <label>
                        <i class="sublist-icon glyphicon glyphicon-user"></i>
                    </label>
                    <input type="text" placeholder="这里输入登录名" class="name_inp" name="UserName" required @*pattern="[^u4e00-u9fa5]{1,}"*@ title="只能输入汉字">
                </div>
                <div class="name">
                    <label>
                        <i class="sublist-icon glyphicon glyphicon-pencil"></i>
                    </label>
                    <input type="password" placeholder="这里输入登录密码" class="name_inp" name="UserPwd" required pattern="[a-zA-Z1-9]{3,}" title="必须超过3位">
                </div>
                <div class="name">
                    <label>
                        <i class="sublist-icon glyphicon glyphicon-asterisk"></i>
                    </label>
                    <input type="text" placeholder="这里输入验证码" class="name_inp" name="yzm">
                </div>
                <div class="iyan">
                    <img src="~/yzm.ashx" alt="验证码" class="name-inp" style="width:150px;height:40px;" onclick="return this.src = '/yzm.ashx?id='+new Date()" />
                </div>
                <input type="submit" class="dl">登录<br />
            </form><button class="dl" onclick="location.href = '/Home/RegisterPage'">注册</button>
        </div>
    </div>
</body>
</html>
